From: Florian Date: Tue, 19 Apr 2016 17:24:04 +0000 (+0200) Subject: Add missing visualClear on search result page X-Git-Tag: 1.31.0-rc.0~7231^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=7d1b122727cfafacc7ba8a4c76d26a701aa88d73;p=lhc%2Fweb%2Fwiklou.git Add missing visualClear on search result page I'm not sure, when this was removed or why it broke, but without the visualClear (clear:both), the text match section is near the title match section, instead of after it. Bug: T133071 Change-Id: I68028a8658ba0aa526ce1a6ef6401f9fd79533f8 --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php old mode 100644 new mode 100755 index 45ef679a1b..2bf8385745 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -376,6 +376,7 @@ class SpecialSearch extends SpecialPage { if ( $textMatches && !$textStatus ) { // output appropriate heading if ( $numTextMatches > 0 && $numTitleMatches > 0 ) { + $out->addHTML( '
' ); // if no title matches the heading is redundant $out->wrapWikiMsg( "==$1==\n", 'textmatches' ); }